import requests

base_url = 'https://www.baidu.com'

response = requests.get(url=base_url)

response.encoding= 'utf-8'

print(response.text)